package org.hhh.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor//有参构造器
@NoArgsConstructor//无参构造器
public class PageList<T> {
    private Long total=0L;//数据总条数
    private List<T> rows=new ArrayList();//当前页数据
}
